package org.yangspring.samples.mvc.service;

import org.yangspring.samples.mvc.domain.Company;

import java.util.List;

/**
 * Created by whyang on 2017/06/19.
 */

public interface CompanyService {

    public void addCompany(Company company);
    public void updateCompany(Company company);
    public List<Company> listCompany();
    public Company getCompanyById(int id);
    public void removeCompany(int id);

}
